const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
  transpileDependencies: true,
  // 报错时是否开启语法检测
  lintOnSave: false,
  devServer: {
    proxy: {
      "/api": {
        //  target: "http://47.108.251.10:9090/",
        target: "http://127.0.0.1:9090/",
        ws: true,
        changeOrigin: true,
        pathRewrite: { "^/api": "" },
      },
    },
  },
});
